--- @coding utf8

function CreateServerEntity()
    local Entity = {
        DbTableName = "",
        DbData = {}
    }
    return Entity
end


function LoadServerEntityFromDb(pkey, cb, cb_args)
    cb(pkey, table.unpack(cb_args))
end


function OnLoadResult(pkey, p1, p2)
    print(pkey, p1, p2)
end

pkey = 123
LoadServerEntityFromDb(pkey, OnLoadResult, {1, 2})